package com.hzdl.service;

/**
 * created by ${user}
 * time:${time}
 * description:
 */


import com.hzdl.bean.AssetPlace;
import com.hzdl.bean.Finance;
import com.hzdl.bean.Project;
import com.hzdl.dao.ReportDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReportService {
    @Autowired
    private ReportDao reportDao;

    public List<AssetPlace> reportCompany(){
        return reportDao.reportCompany();
    }
    public List<Project> reportProject(){
        return reportDao.reportProject();
    }
    public List<Finance> reportFinance(int type){return  reportDao.reportFinance(type);}
}
